const plugin = require('tailwindcss/plugin')
module.exports = {
  content: [
    './src/pages/**/*.tsx',
    './src/components/**/*.tsx',
    './src/layouts/**/*.tsx',
  ],
  plugins: [
    plugin(({ addUtilities }) => {
      addUtilities({
        '.flex-center': {
          'display': 'flex',
          'align-items': 'center',
          'justify-content': 'center'
        },
        '.text-overflow': {
          overflow: 'hidden',
          'text-overflow': 'ellipsis',
          'white-space': 'nowrap'
        }
      })
    })
  ],
}
